package com.codeforces.contest.c312;
import java.util.Scanner;


public class _312A {

	static Scanner scanner = new Scanner(System.in);
	static int N;
	static String s;

	public static void main(String[] args) {
		N = scanner.nextInt();
		scanner.nextLine();
		for (int i=0;i<N;++i) {
			s = scanner.nextLine();
			boolean b1 = s.endsWith("lala.");
			boolean b2 = s.startsWith("miao.");
			if (b1 && !b2) {
				System.out.println("Freda's");
			}
			else if (b2 && ! b1) {
				System.out.println("Rainbow's");
			}
			else {
				System.out.println("OMG>.< I don't know!");
			}
		}

	}

}
